package com.eugene.enums;

import java.util.Calendar;

public enum ETimeUnit {
	DAY(1, Calendar.DATE),
	WEEK(7, Calendar.WEEK_OF_MONTH),
	MONTH(30,Calendar.MONTH),
	YEAR(365,Calendar.YEAR),
	MATURITY(10000,Calendar.DATE);
	
	/**
	 * @uml.property  name="numDays"
	 */
	public int numDays;
	/**
	 * @uml.property  name="type"
	 */
	public int type;
	private ETimeUnit(int numDays, int type){
		this.numDays =numDays;
		this.type = type;
	}
}
